<extend name="Public/base"/>

<block name="style" >
    <style>
        table{
            font-size: 12px;
        }
        .actions_diy{
            font-size: 20px;
            color: red;
        }
    </style>
</block>

<block name="body">
    <div class="row">
        <div class="col-md-12">
            <div class="block-web">
                <form action="{:U('vip_list')}" method="post" onsubmit="return false" id="SearchFrom">
                    <div class="header">
                        <div class="actions_diy">
                            设置/取消VIP请在用户列表操作
                        </div>
                        <h3 class="content-header">设置/取消VIP记录</h3>
                    </div>

                    <div class="block-web" style="margin: 0;padding:10px 20px 0px 0px;">
                        <div class="porlets-content">
                            <div class="row" style="margin-left:-45px;">
                                <div class="col-md-12">
                                    <div class="search_pannl_div">
                                        <table class="search_table">
                                            <tbody>
                                            <tr style="text-align: right;">
                                                <td class="single-col">
                                                    <label>登录账号：</label><input style="width:150px;" type="text" id="user_name" name="user_name" placeholder="输入登录帐号查找" value="">
                                                    <button type="button" class="btn btn-success" formtarget="SearchFrom" id="searchBtn" onclick="goSearch('#searchBtn','load_tb_div')"><i class="fa fa-search"></i> 搜索</button>
                                                    <button type="button" class="btn btn-default" onclick="$('input[type=text]').val(['']);$('select').val('');goSearch('#searchBtn','load_tb_div');"> 查看所有</button>
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>

                <div class="porlets-content">
                    <div class="table-responsive">

                        <div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline" role="grid">
                            <div class="row">
                                <div class="col-md-12">
                                    <div id="load_tb_div"></div>

                                </div>
                            </div><!--/table-responsive-->
                        </div><!--/porlets-content-->


                    </div><!--/block-web-->
                </div><!--/col-md-12-->
            </div>
        </div>
    </div>


</block>

<block name="script">
    <include file="Public:artdialog" />

    <!--  弹窗插件引用 update by nirunfa 2015-12-20  -->
    <script src="/Public/static/layer/layer.js"></script>

    <script type="text/javascript">

        $(function(){
            load();
        });
        function load(){
            var init_url="{:U('vip_list')}";
            var url=  init_url;
            var load_DIV=  'load_tb_div';
            _load_html_byurl(url,load_DIV)
        }


    </script>
</block>